package com.whx.managea.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
public class Clazz {
    private String id;
    private String name;
    private String tagid;//标签外键

    //定义一个标签对象
    private Tag tag;//用来存储班级所对应的标签信息
}
